/*
 * @Author: dell di
 * @Date: 2020-06-22 15:43:57
 * @LastEditTime: 2020-07-10 20:46:14
 * @LastEditors: di
 * @Description: 
 * @FilePath: \02_VueOwner\src\api\base.js
 */ 
import request from "@/utils/request";

/**
 * @description 文件图片上传
 * @param {object} data 
 */
export function uploadFile(data) {
  return request({
    url: "/service/service-app/zuul/fastdfs/fastdfs/upload-files-standard",
    method: "post",
    data
  });
}

/**
 * 删除上传文件
 * @param params
 */
export function deleteUploadFileByFileId (query) {
  // dataFilter(query);
  return request({
    url: '/service/service-app/fastdfs/fastdfs/delete-file-standard',
    method: 'get',
    params: query,
  });
}